|
2020-2021 Sunseeker Telemetry and Lighting System
|
#include "driverlib.h"Go to the source code of this file.
Functions | |
| void | main (void) |
| void main | ( | void | ) |
MSP430F530x Demo - Software Poll PU.0, Set P1.0 if PU.0 = 1
Description: Poll PU.0 in a loop, if hi P1.0 is set, if low, P1.0 reset. ACLK = n/a, MCLK = SMCLK = default DCO
MSP430F530x
-----------------
/|\| VCC|--
| | | |
--|RST LDOO|<-
/|\ | | –o–|PU.0 P1.0|-->LED |/
This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:
This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.
Definition at line 60 of file ldopwr_ex2_softwarePoll.c.
References GPIO_setOutputHighOnPin(), and GPIO_setOutputLowOnPin().